<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="layout" content="main" />
<title>User Login</title>
</head>
<g:set var="from" value="${flash['from']}" scope="flash" />
<body>
	<div class="body">
	<g:form action="doLogin" method="post">
	<div class="dialog">
	<p>Enter your login details below:</p>
	<table class="userForm">
		<tr class='prop'>
			<td valign='top' style='text-align:left;' width='20%'>
				<label for='userName'>User:</label>
			</td>
			<td valign='top' style='text-align:left;' width='80%'>
				<input id="userName" type='text' name='userName' value='${user?.userName}' />
			</td>
		</tr>
		<tr class='prop'>
			<td valign='top' style='text-align:left;' width='20%'>
				<label for='password'>Password:</label>
			</td>
			<td valign='top' style='text-align:left;' width='80%'>
				<input id="password" type='password' name='password'
				value='${user?.password}' />
			</td>
		</tr>
	</table>
	</div>
	<div class="buttons">
	<span class="formButton">
		<input type="submit" value="Login"></input>
	</span>
	</div>
	</g:form>
</div>
</body>
</html>